/**
 * 
 */
package com.planner.core.service.rest.vo;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author gautasa
 *
 */
@XmlRootElement(name="result")
@XmlAccessorType(XmlAccessType.FIELD)
public class StopSearchResult {
		
	@XmlElementWrapper(name="stops")
	@XmlElement(name="stop")
	private List<Stop> stops = new ArrayList<Stop>();
	
	public StopSearchResult(){
		super();
	}
	public StopSearchResult(List<Stop> stops){
		super();
		this.stops = stops;
	}
	public List<Stop> getStops() {
		return stops;
	}
}
